package com.example.ercmssystem2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class ErcmsSystem2Application extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(ErcmsSystem2Application.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(ErcmsSystem2Application.class, args);
        System.out.println("应急响应中心管理系统启动成功！");
    }
} 